From f26a97ed031786e19fedbc6093eec633249060b2 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 18 Aug 2005 16:04:00 +0000 Subject: [PATCH] Clean up bootmem initialisation for x86/64. Question still remains over why boot fails if we try to free up the bottom 1MB of pseudophysical memory... Signed-off-by: Keir Fraser --- .../arch/xen/x86_64/kernel/setup.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c index dbb8d31ef3..7a7d01dfc2 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c @@ -426,16 +426,10 @@ static __init void parse_cmdline_early (char ** cmdline_p) #ifdef CONFIG_XEN static void __init contig_initmem_init(void) { - unsigned long bootmap_size, bootmap; - - bootmap_size = bootmem_bootmap_pages(end_pfn)<